package com.nt.train.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.Map;
/**
 * 获取初始化数据
 * @author hlf
 * @version 1.0
 * @date 2022/8/3 16:01
 */
@Component
public class MyBeanMap {

    private Map<String,Integer> integerMap;

    @Autowired
    public void setIntegerMap(Map<String, Integer> integerMap) {
        this.integerMap = integerMap;
    }

    public Map<String, Integer> getIntegerMap() {
        return integerMap;
    }


}



